import java.util.Scanner;


public class P4_3 {
public static void main(String[] args)
{
float a;
float b;
float c;

Scanner in = new Scanner(System.in);

System.out.println("Please input three floating point numbers:");
a=in.nextFloat();
b=in.nextFloat();
c=in.nextFloat();

System.out.println("Your input in desending order: ");
if (a>b && a>c)
{
	System.out.println(a);
	if(c>b)
	{
		System.out.println(c);
		System.out.println(b);
	}
	else
	{
		System.out.println(b);
		System.out.println(c);
	}

}
else if(a>b)
{	
	System.out.println(c);
	System.out.println(a);
	System.out.println(b);
}
else if(a>c)
{
	System.out.println(b);
	System.out.println(a);
	System.out.println(c);
}
else if(c>b)
{
	System.out.println(c);
	System.out.println(b);
	System.out.println(a);	
}
else{
	System.out.println(b);
	System.out.println(c);
	System.out.println(a);
}
}
}
